import request from '../req'
// 客户余额不足
export const balanceAndTomorrowCostApi = async (params: any) => {
    let res = await request.get('/period-insur/dashboard/balance-and-tomorrow-cost', {
        params: params
    })
    return res
}

// 客户余额不足
export const statisticsMonthlyApi = async () => {
    let res = await request.get('/period-insur/dashboard/statistics-monthly')
    return res
}

// 日保数据列表
export const wesureStatisticsMonthlyApi = async () => {
    let res = await request.get('/wesure/dashboard/statistics-monthly')
    return res
}

// 首充的导出
export const saleFirstRechargeExport = async (params: any) => {
    let res = await request.get('/period-insur/dashboard/sale-first-recharge-export', {
        params: params
    })
    return res
}

// 首销售数据的导出
export const insureCustomExport = async (params: any) => {
    let res = await request.get('/crm/sales/export-insur-custom', {
        params: params
    })
    return res
}

// 长期保列表的导出
export const longTermInsureListExport = async (params: any) => {
    let res = await request.get('/period-insur/dashboard/statistics-monthly-export', {
        params: params
    })
    return res
}

// 日日保导出
export const dailyInsureListExport = async () => {
    let res = await request.get('/wesure/dashboard/statistics-monthly-export')
    return res
}